package com.hydl.power.mapper;

import com.hydl.power.pojo.ExtremeAnalyze;
import org.apache.ibatis.annotations.Param;

import javax.print.DocFlavor;
import java.util.List;

public interface ExtremeAnalyzeMapper {
    /*按小时查*/
    List<ExtremeAnalyze> queryByHour(@Param("pageNumKey") Integer pageNum, @Param("pageSizeKey") Integer pageSize, String cityId, String projectId, String roomId, String startTime, String endTime);
    List<ExtremeAnalyze> queryByHourEnd(String cityId, String projectId, String roomId, String startTime, String endTime);


    /*按天查*/
    List<ExtremeAnalyze> queryBydayStart(@Param("pageNumKey") Integer pageNum, @Param("pageSizeKey") Integer pageSize, String cityId, String projectId, String roomId, String startTime,String endTime);
    List<ExtremeAnalyze> queryBydayEnd(String cityId, String projectId, String roomId, String startTime, String endTime);

    /*按月查*/
    List<ExtremeAnalyze> queryByMonthStart(@Param("pageNumKey") Integer pageNum, @Param("pageSizeKey") Integer pageSize, String cityId, String projectId, String roomId , String startTime);
    List<ExtremeAnalyze> queryByMonthEnd(String cityId, String projectId, String roomId, String startTime);
}
